<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>{{ $title ?? '页面标题' }}</title>
    @stack('head')

    <!-- Styles / Scripts -->
    @stack('style')
    @vite(['resources/css/app.css', 'resources/css/admin-layout.css', 'resources/css/admin-layout-override.css', 'resources/js/app.js'])

</head>
<body class="dark:bg-gray-900 dark:text-white" hx-push-url="true">
{{ $slot }}
@stack('scripts')
</body>
</html>
